package ModelLayer;

/**
 *
 * @author R3l4X
 */

public class Product {
    
private String type;
private double price;
private double dimensions;
private String placement;
private int minStock;
private int maxStock;
private int currentStock;
private int productID;
private Supplier supplierID;
private int supID;
    
    
        
public Product() {
            }
    
public Product(int productID){
        this.productID = productID;
    }

    public Product(int productID, String type, double price, double dimensions, String placement, int minStock, int maxStock, int currentStock, Supplier supplierID) {
        this.type = type;
        this.price = price;
        this.dimensions = dimensions;
        this.placement = placement;
        this.minStock = minStock;
        this.maxStock = maxStock;
        this.currentStock = currentStock;
        this.productID = productID;
        this.supplierID = supplierID;
        this.supID = supplierID.getSupID();
      }

    public int getProductID() {
        return productID;
    }

    public void setProductID(int productID) {
        this.productID = productID;
    }

    public int getCurrentStock() {
        return currentStock;
    }

    public void setCurrentStock(int currentStock) {
        this.currentStock = currentStock;
    }

    public double getDimensions() {
        return dimensions;
    }

    public void setDimensions(double dimensions) {
        this.dimensions = dimensions;
    }

    public int getMaxStock() {
        return maxStock;
    }

    public void setMaxStock(int maxStock) {
        this.maxStock = maxStock;
    }

    public int getMinStock() {
        return minStock;
    }

    public void setMinStock(int minStock) {
        this.minStock = minStock;
    }

    public String getPlacement() {
        return placement;
    }

    public void setPlacement(String placement) {
        this.placement = placement;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }


    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Supplier getSupplier() {
        return supplierID;
    }
    public void setSupplier(Supplier Supp) {
        this.supplierID = Supp;
    }
    public int getSupID() {
        return supID;
    }
    public void setSupID(int supID) {
        this.supID = supID;
    }
    public Supplier getSupplierID() {
        return supplierID;
    }
    public void setSupplierID(Supplier supplierID) {
        this.supplierID = supplierID;
    }

}